﻿<Application x:Class="SurveySez.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    StartupUri="View/PublicWindow.xaml"
	Startup="Application_Startup">
    <Application.Resources>
		<vm:ViewModelLocator x:Key="Locator" xmlns:vm="clr-namespace:SurveySez.ViewModel"/>
		<Style x:Key="CollapsedWhenNull" TargetType="FrameworkElement">
			<Setter Property="Visibility" Value="Visible"/>
			<Style.Triggers>
				<DataTrigger Binding="{Binding}" Value="{x:Null}">
					<Setter Property="Visibility" Value="Collapsed"/>
				</DataTrigger>
			</Style.Triggers>
		</Style>
	</Application.Resources>
</Application>
